<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>Document</title>
    <style>
        div:not(#app) {
            padding: 50px;
        }

        .div1 {
            background-color: rgb(176, 172, 98);
        }

        .div2 {
            background-color: rgb(81, 163, 58);
        }

        .div3 {
            background-color: rgb(102, 98, 147);
        }
    </style>
</head>
<body>
<div id="app">
    <div @click="fn1" class="div1">
        <div @click="fn2" class="div2">
            <div @click="fn3" class="div3"></div>
        </div>
    </div>
</div>
<script src="./vue.js"></script>
<script>

    const vm = new Vue({
        el: '#app',
        data: {},
        methods: {
            fn3(e) {
                console.log(3);
                e.stopPropagation();
            },
            fn2() {
                console.log(2);
            },
            fn1() {
                console.log(1);
            }
        }
    })


</script>
</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>Document</title>
    <style>
        div:not(#app) {
            padding: 50px;
        }

        .div1 {
            background-color: rgb(176, 172, 98);
        }

        .div2 {
            background-color: rgb(81, 163, 58);
        }

        .div3 {
            background-color: rgb(102, 98, 147);
        }
    </style>
</head>
<body>
<div id="app">
    <div @click="fn1" class="div1">
        <div @click="fn2" class="div2">
            <div @click="fn3" class="div3"></div>
        </div>
    </div>
</div>
<script src="./vue.js"></script>
<script>

    const vm = new Vue({
        el: '#app',
        data: {},
        methods: {
            fn3(e) {
                console.log(3);
                e.stopPropagation();
            },
            fn2() {
                console.log(2);
            },
            fn1() {
                console.log(1);
            }
        }
    })


</script>
</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>Document</title>
    <style>
        div:not(#app) {
            padding: 50px;
        }

        .div1 {
            background-color: rgb(176, 172, 98);
        }

        .div2 {
            background-color: rgb(81, 163, 58);
        }

        .div3 {
            background-color: rgb(102, 98, 147);
        }
    </style>
</head>
<body>
<div id="app">
    <div @click="fn1" class="div1">
        <div @click="fn2" class="div2">
            <div @click="fn3" class="div3"></div>
        </div>
    </div>
</div>
<script src="./vue.js"></script>
<script>

    const vm = new Vue({
        el: '#app',
        data: {},
        methods: {
            fn3(e) {
                console.log(3);
                e.stopPropagation();
            },
            fn2() {
                console.log(2);
            },
            fn1() {
                console.log(1);
            }
        }
    })


</script>
</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>Document</title>
    <style>
        div:not(#app) {
            padding: 50px;
        }

        .div1 {
            background-color: rgb(176, 172, 98);
        }

        .div2 {
            background-color: rgb(81, 163, 58);
        }

        .div3 {
            background-color: rgb(102, 98, 147);
        }
    </style>
</head>
<body>
<div id="app">
    <div @click="fn1" class="div1">
        <div @click="fn2" class="div2">
            <div @click="fn3" class="div3"></div>
        </div>
    </div>
</div>
<script src="./vue.js"></script>
<script>

    const vm = new Vue({
        el: '#app',
        data: {},
        methods: {
            fn3(e) {
                console.log(3);
                e.stopPropagation();
            },
            fn2() {
                console.log(2);
            },
            fn1() {
                console.log(1);
            }
        }
    })


</script>
</body>
</html>